<div class="pub-body">
    <h1 align="center">&nbsp;&nbsp;&nbsp;用户角色管理</h1>
    <h2></h2>
        <!-- 资产列表 -->
        <div class="project">
            <el-table :data="assetData" border style="width: 100%" :header-cell-style="{background:'#eef1f6',color:'#606266'}">
                <el-table-column prop="contractNo" label="用户ID" width="200"></el-table-column>
                <el-table-column prop="assetName" label="部门名称" width="200"></el-table-column>
                <el-table-column prop="assetType" label="科室名称" width="200"></el-table-column>
                <el-table-column prop="assetNorm" label="姓名"  width="200"></el-table-column>
                <el-table-column prop="supplier" label="联系方式" ></el-table-column>
                <el-table-column prop="purchaseUnit" label="邮箱"></el-table-column>
                <!-- <el-table-column prop="assetNum" label="资产数量"></el-table-column> -->
                <!-- <el-table-column prop="taxIncludedPrice" label="人防异地建设费"></el-table-column> -->
                <!-- <el-table-column prop="inboundDate"  label="入库日期"></el-table-column>
                <el-table-column prop="assetStatus"  label="资产状态"></el-table-column> -->
                <el-table-column fixed="right" label="操作" width="200">
                    <template slot-scope="scope">
                        <el-button @click="dialogAsset(scope.row)" type="primary" icon="el-icon-tickets" size="small">修改用户权限</el-button>
                        <!-- <el-button @click="dialogUse(scope.row)" type="primary" icon="el-icon-star-on" size="small">资产维修</el-button> -->
                    </template>
                </el-table-column>
            </el-table>
        </div>

        <!-- 弹窗 -->
        <el-dialog width="1000px" :title="dialogAssetAdd.title" :visible.sync="dialogAssetAdd.status">
            <el-form ref="assetAddFrom" :rules="assetAddRules" :model="assetAddFrom" label-width="160px">
                <el-form-item prop="contractNo" label="用户ID">
                    <el-input :disabled="true"  style="width: 300px;" placeholder="请输入项目名称" v-model="assetAddFrom.contractNo"></el-input>
                </el-form-item>
                <el-form-item prop="personalID1" label="上级领导">
                    <el-select style="width: 300px;" v-model="assetAddFrom.personalID1" placeholder="请选择上级领导">
                        <el-option label="赵1*" value="1"></el-option>
                        <el-option label="赵2*" value="2"></el-option>
                        <el-option label="赵3*" value="3"></el-option>
                        <el-option label="赵4*" value="4"></el-option>
                        <el-option label="赵5*" value="5"></el-option>
                        <el-option label="无" value="6"></el-option>
                    </el-select>
                </el-form-item>
                <el-form-item prop="personalID2" label="用户权限">
                    <el-select style="width: 300px;" v-model="assetAddFrom.personalID2" placeholder="请选择权限">
                        <el-option label="部长及以上领导" value="1"></el-option>
                        <el-option label="科长" value="2"></el-option>
                        <el-option label="计划科" value="3"></el-option>
                        <el-option label="项目负责人" value="4"></el-option>
                    </el-select>
                </el-form-item>
                <el-form-item prop="monthly" label="备注">
                    <el-input
                        prop="monthlya"
                        style="width: 450px"
                        type="textarea"
                        :rows="3"
                        placeholder="请输入详细说明"
                        v-model="textarea">
                    </el-input>
                </el-form-item>
                <el-form-item>
                    <el-button type="primary" @click="assetUse('assetAddFrom')">提交修改</el-button>
                    <el-button @click="">取消</el-button>
                </el-form-item>
            </el-form>
        </el-dialog>
    </div>
